import React from 'react'
import Code from './Code'
import Link from '../ui-components/link'
import style from './style'

export default () => (
	<div className={style.root}>
		<Code>{'<Link icon={..} to={..}>{..}</Link>'}</Code>
		<div>
			<Link _>这是一个链接</Link>
		</div>
		<div style={{width: '50px'}}>
			<Link color="blue" icon="zan">点我</Link>
		</div>
		<div style={{width: '50px'}}>
			<Link color="blue" icon="comment">评论</Link>
		</div>
		<div style={{width: '50px'}}>
			<Link icon="arrow" iconRotate="90"/>
		</div>
	</div>
)
